package top.jojoace.JPA.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import top.jojoace.JPA.model_DDL.BothWay_OneToMany.BW_StudentItem;


/**
 * public interface studentRepository extends JpaRepository<实体类,实体类主键类型>
 */
@Repository
public interface BWStudentRepository extends JpaRepository<BW_StudentItem, Integer> {
    BW_StudentItem findOneById(int id);

}
